# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=vimiv-qt
pkgver=0.8.0
pkgrel=2
pkgdesc="an image viewer with vim-like keybindings"
url="https://github.com/karlch/vimiv-qt"
arch="all !armhf" # armhf blocked by py3-qt5 (qt5-qtdeclarative)
license="GPL-3.0-only"
depends="python3 py3-qt5"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/karlch/vimiv-qt/archive/v$pkgver.tar.gz"
options="!check" # Not working yet.

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	make -f misc/Makefile DESTDIR="$pkgdir" install
}

sha512sums="91f4cc151904d4b3aa1919006eabce03840ac633f48012c1500bf606e5332c5d7b4647d8c8581f16958e43b1e435a0a7749bb9ac7735920c23ae17718898bac9  vimiv-qt-0.8.0.tar.gz"
